﻿using Microsoft.AspNetCore.Mvc;

namespace GroupTwo_MVC.Controllers
{
    /// <summary>
    /// 采购管理
    /// </summary>
    public class ProcurementsController : Controller
    {
        private readonly IConfiguration _configuration;

        public ProcurementsController(IConfiguration configuration)
        {
            _configuration = configuration;
        }
        #region 开票通知单
        /// <summary>
        /// 开票通知单的添加(选择物料)
        /// </summary>
        /// <returns></returns>
        public IActionResult InvoiceSettlementEntityAddXuanZe()
		{
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
		}

		/// <summary>
		/// 开票通知单的所有显示
		/// </summary>
		/// <returns></returns>
		public IActionResult GetInvoiceSettlementEntity()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

		/// <summary>
		/// 开票通知单的查询（根据单据编码）
		/// </summary>
		/// <returns></returns>
		public IActionResult YourQueryPage()
		{
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
		}

        /// <summary>
		/// 开票通知单的编辑
		/// </summary>
		/// <returns></returns>
		public IActionResult InvoiceSettlementEntityUdp()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        #endregion



        #region 开票到票管理
        /// <summary>
        /// 开票到票新增
        /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
        /// </summary>
        /// <returns></returns>
        public IActionResult Addticketsents()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }


        /// <summary>
        /// 开票到票销售订单修改
        /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
        /// </summary>
        /// <returns></returns>
        public IActionResult Putticketsents()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }


        /// <summary>
        /// 开票到票查询
        /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
        /// </summary>
        /// <returns></returns>
        public IActionResult Getticketsents()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 开票到票采购订单
        /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
        /// </summary>
        /// <returns></returns>
        public IActionResult AddurchaseOrdp()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }



        /// <summary>
        /// 开票到票采购订单查询
        /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
        /// </summary>
        /// <returns></returns>
        public IActionResult GeturchaseOrdp()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }



        /// <summary>
        /// 开票到票采购订单修改
        /// 物联网-智能MES生产管理系统-07-开票到票管理V1.1-20250206
        /// </summary>
        /// <returns></returns>
        public IActionResult PuturchaseOrdp()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

     #endregion

        /// <summary>
        /// 采购发票列表
        /// </summary>
        /// <returns></returns>
        public IActionResult GetProcurements()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
		/// 采购发票修改
		/// </summary>
		/// <returns></returns>
		public IActionResult ProcurementsAdd()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 采购发票查看
        /// </summary>
        /// <returns></returns>
        public IActionResult LookProcurements()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 采购退货单新增
        /// </summary>
        /// <returns></returns>
        public IActionResult PreturnorderAdd()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购退货单列表
        /// </summary>
        /// <returns></returns>
        public IActionResult PreturnorderList()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
        /// <summary>
        /// 采购退货单编辑
        /// </summary>
        /// <returns></returns>
        public IActionResult PreturnorderUpd()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }


        /// <summary>
        /// 采购订单添加
        /// </summary>
        /// <returns></returns>
        public IActionResult AddPurchaseorderVoew()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }


        /// <summary>
        /// 采购订单反填页面
        /// </summary>
        /// <returns></returns>
        public IActionResult PuturchaseorderVoew()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }


        /// <summary>
        /// 选择供应商
        /// </summary>
        /// <returns></returns>
        public IActionResult GetVoew()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购订单列表
        /// </summary>
        /// <returns></returns>
        public IActionResult GetPriclist()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购订单明细
        /// </summary>
        /// <returns></returns>
        public IActionResult mathPriclist()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }



        /// <summary>
        /// 采购到货添加
        /// </summary>
        /// <returns></returns>
        public IActionResult AddPurchaseArrival()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购到货列表
        /// </summary>
        /// <returns></returns>
        public IActionResult GetPurchaseArrival()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购到货明细
        /// </summary>
        /// <returns></returns>
        public IActionResult matinPurchaseArrival()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }

        /// <summary>
        /// 采购到货修改
        /// </summary>
        /// <returns></returns>
        public IActionResult PutPurchaseArrival()
        {
            ViewBag.BaseUrl = _configuration.GetSection("BaseUrl").Get<string>();
            return View();
        }
    }
}
